#ifndef _INTERFACE_H_
#define _INTERFACE_H_


#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "load-graph.h"

class Interface {
public:

	 char tmptxt[10000];

	 GtkWidget 	*window;
	 GtkWidget 	*vbox;

	 GtkWidget 	*statusbar;
	 GtkWidget 	*table;

	 GtkWidget	*vbox2;
	 GtkWidget	*frame1;
	 GtkWidget	*frame2;
	 GtkWidget	*frame3;

	 GtkWidget	*hbox;
	 GtkWidget	*scrolled_window;


	 GtkWidget 	*txtview;
	 GtkTextBuffer *txtbuffer;
	 GtkTextIter start, end;
	 GtkTextIter iter;

	 GtkToolItem *button;
	 GtkWidget 	*spinbutton;
	 GtkWidget 	*label;

	 LoadGraph * jitterGraph;
	 LoadGraph * bitrateGraph;
	 LoadGraph * errorGraph;


	 //Interface(Analyzer * _an);
	 void initGui(int argc, char *argv[]);
	 void toggleListening();

	 void printBold(const gchar *text);
	 void cleantxt();
	 void print( gchar *text);
	 void printBlue(const gchar *text);
	 void printRed(const gchar *text);
	 void printItalic(const gchar *text);

};


static void toggleListeningCallback(GtkWidget *widget, gpointer data);


#endif
